<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<script type="text/javascript">
  function page(n,s){
    $("#pageNo").val(n);
    $("#pageSize").val(s);
    $("#searchForm").submit();
    return false;
  }
</script>
<div class="content-wrap">
  <div class="wrapper" style="bottom: 50px;">
    <ul class="nav nav-tabs">
      <li class="active">
        <a href="#"   onclick="loadDiv('rigthCenterDiv','${ctx}/csm/expDict/quelog?expCode=${expDict.expCode}&expName=${expDict.expName}')">消耗品信息列表</a>
      </li>
      <%--<li>--%>
      <%--<a href="#" onclick="loadDiv('rigthCenterDiv','${ctx}/csm/expDict/form?expCode=${expDict.expCode}&expName=${expDict.expName}')">消耗品添加</a>--%>
      <%--</li>--%>
    </ul>
    <section class="panel panel-default">
      <div class="panel-body">
        <div class="table-responsive no-border">
          <table id="contentTable" class="table table-bordered table-striped mg-t datatable">
            <thead>
            <tr>
              <th>消耗品代码</th>
              <th>消耗品名称</th>
              <th>规格</th>
              <th>单位</th>
              <th>毒理分类</th>
              <th>OTC类型</th>
              <th>限制等级</th>
              <th>贵重等级</th>
              <th>备注</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${expDictList}" var="expDict">
            <tr>
              <td> ${expDict.expCode}</td>
              <td> ${expDict.expName}</td>
              <td> ${expDict.expSpec}</td>
              <td> ${fns:getDictLabels(expDict.unit, 'SPEC_UNIT', '')}</td>
              <td> ${fns:getDictLabels(expDict.toxiProperty, 'DRUG_TOXI_PROPERTY_DICT', '')}</td>
              <td> ${fns:getDictLabels(expDict.isOtc, 'YES_NO', '')}</td>
              <td> ${fns:getDictLabels(expDict.limitClass, 'LIMIT_CLASS_DICT', '')}</td>
              <td> ${fns:getDictLabels(expDict.preciousFlag, 'DRUG_PRECIOUS_FLAG_DICT', '')}</td>
              <td></td>
            </tr>
            </c:forEach>
          </table>
        </div>
      </div>
    </section>
  </div>
</div>
